<template><div>
	<div v-for="(v,k) in topics"  :key="k" style="margin-top:10px;margin-bottom:10px">
		<div v-if="v != undefined">
			<Topic :topic="v"></Topic>
		</div>
	</div>
</div></template>

<script lang="ts" setup>
import { ref , reactive , computed ,  watchEffect , defineProps , withDefaults , defineEmits , defineExpose , useSlots , useAttrs} from 'vue';
import { useRouter, useRoute } from "vue-router";
import {ITopic, ITopicView} from "../Ts/Topic";
import Topic from './Topic.vue'

const props = withDefaults(defineProps<{
	// 不要1000题以上,不然渲染容易卡一段时间,除非你的自己的机子很有自信,且可以 把所有题目耍完
		topics:(ITopic<any> | undefined)[]
	}>(),{});

</script>


<style scoped>

</style>